﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Orion.Models
{
    public interface INewsArticleRepository
    {
		IQueryable<NewsArticle> GetAllNewsArticles();
        NewsArticle GetNewsArticleById( int id );
        void AddNewsArticle( NewsArticle n );
        void UpdateNewsArticle( NewsArticle na );
        IQueryable<Category> GetAllCategories();
        void DisableNewsArticle( NewsArticle na, String strUser );
        void EnableNewsArticle( NewsArticle na, String strUser );
    }
}
